package com.simple.datax.service.impl;

import org.springframework.stereotype.Service;

import com.alibaba.dubbo.common.logger.Logger;
import com.alibaba.dubbo.common.logger.LoggerFactory;
import com.simple.datax.SimpleObject;
import com.simple.datax.api.MessageProcessor;
import com.simple.datax.api.SimpleException;

/** 
 * @Title: TestMsgProcessorImpl.java 
 * @Package com.simple.datax.service.impl 
 * @Description: 该实现目前只用于测试使用
 * @author Paladin Chen 
 * @date 2012-12-24 下午4:09:36 
 * @version V1.0 
 */
@Service("testProcessorPrint")
public class TestMsgProcessorImpl implements MessageProcessor {
	private static final Logger logger = LoggerFactory
			.getLogger(TestMsgProcessorImpl.class);
	
	@Override
	public void process(SimpleObject src) throws SimpleException {
		//System.out.println(src);
		logger.debug(src.toString());
	}

}
